<!doctype html>
<html lang="en">
<head>
    <meta name="format-detection" content="telephone=no" />
    <meta charset="UTF-8">
    <title>爱贝儿医</title>
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"/>
    <link rel="stylesheet" href="../style/common.css?<?=版本?>">
    <script src="../js/jquery.js"></script>
    <style>
        .bdlt_header{width:100%;height:45px;background:#fff;font-size:120%;color:#D02D49;text-align:center;line-height:45px;font-family:微软雅黑;}
        .bdlt_ins{padding:16px;color:#D02D49;font-size:80%;font-family:微软雅黑;}
        .bdlt_cont{padding:0 16px;font-family:微软雅黑;}
        .bdlt_cont .bdlt_ul{background:#fff;border-radius:4px;margin-bottom:16px;}
        .bdlt_cont .bdlt_ul .bdlt_item{margin:0 12px;border-bottom:1px #E7E7E7 solid;height:50px;}
        .bdlt_cont .bdlt_ul li .type{width:80px;height:50px;line-height:50px;text-align:center;float:left;color:#999;font-size:90%;}
        .bdlt_cont .bdlt_ul li  .txt_input{padding-left:96px;}
        .bdlt_line{width:1px;height:30px;background:#E7E7E7;font-size:0;float:left;margin-top:10px;}
        .bdlt_cont .bdlt_ul li  .txt_input input{width:100%;height:46px;margin-top:2px;font-size:100%;color:#333;}
        .bdlt_cont .bdlt_ul li  .txt_input1 input{height:1px;opacity:0;display:none;font-size:100%;}
        .bdlt_cont .bdlt_ul li  .txt_input1 label{padding-left:20px;background:url(../style/input_tet_label1.png) no-repeat left center;background-size:32%;height:50px;display:block;line-height:50px;float:left;padding-right:16px;}
        .bdlt_cont .bdlt_ul .bdlt_item1{margin:0 12px;border-bottom:1px #E7E7E7 solid;}
        .bdlt_cont .bdlt_ul li  .txt_input2 input{height:1px;opacity:0;font-size:100%;color:#333;display:none;}
        .bdlt_cont .bdlt_ul li  .txt_input2 label{padding-left:30px;margin-left:16px;background:url(../style/input_tet_label1.png) no-repeat left center;background-size:6%;height:50px;display:block;line-height:50px;font-size:100%;color:#333;}
        .bdlt_cont .bdlt_ul li  .txt_input2 .payment_p{font-size:70%;color:#A1A1A1;}
        .bdlt_cont .bdlt_ul li  .txt_input2 span{color:#A1A1A1;font-size:85%;width:100%;}
        .bdlt_cont .bdlt_ul li  .txt_input3{padding-top:12px;}
        .bdlt_cont .bdlt_ul li  .txt_input3 input{height:1px;opacity:0;font-size:100%;color:#333;display:none;}
        .bdlt_cont .bdlt_ul li  .txt_input3 label{padding-left:30px;background:url(../style/input_tet_label1.png) no-repeat left center;background-size:6%;height:30px;display:block;line-height:30px;font-size:100%;color:#333;}
        .bdlt_cont .fore3 p{font-size:90%;color:#A1A1A1;padding-top:8px;}
        .bdlt_cont .fore3 .bdlt_item1{padding-bottom:16px;}
        .bdlt_cont .fore3 .bdlt_item{color:#D02D49;font-size:90%;padding:16px 0;margin-bottom:16px;line-height:1.2}
        .bdlt_cont  .submit_btn{width:90%;height:40px;line-height:40px;text-align:center;background:#D02D4A;margin:16px auto;border-radius:4px;}
        .bdlt_cont  .submit_btn input{width:100%;height:100%;color:#fff;font-size:110%;background:#D02D4A;text-align:center;border-radius:4px;-webkit-appearance:none;}

    </style>
</head>
<body>
<?php
/**
 * Created by PhpStorm. User: ADun, Date: 14-10-15 下午10:11
 * Description:
 */
require_once "../linhe.php";
$openId=getCurrentUserOID();
$busFlag="addmeet_use_beida";
$do1=pdo()->selects("select * from  会议报名表 where openid='".$openId."' " );
$do=$do1[0];
$title="会议报名";
$重回报名=$bm->生成有效链接('AddMeet_users_beida',$_GET['state']);
?>
<div class="bdlt_header">会议报名</div>
<div class="bdlt_ins">"2016北大新生儿危重症论坛"将于2016年4月21-23日在北京康铭大厦盛大召开。爱贝儿医作为协作方，是本次论坛合作报名入口，请大家填写以下报名信息。</div>
<form id="form1" method="post"  action="../commit.php?businessFlag=addment_user_beida" >
    <input type="hidden" value="<?=$openId ?>" name="openid" id="openid"/>

    <input type="hidden" value="<?=$do['id'] ?>" name="id" id="id"/>
    <input type="hidden" value="<?=$重回报名 ?>" name="重回报名" id="重回报名"/>
<div class="bdlt_cont">
    <ul class="bdlt_ul fore1">
        <li class="bdlt_item">
            <div class="type">姓名</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="name" value="<?=$do['name']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">性别</div>
            <div class="bdlt_line"></div>
            <div class="txt_input1">
                <div style="height:50px;width:16px;float:left;"></div>

                <?php  if($do['sex'] == '女'){ ?>
                <label><input type="radio"  name="sex" value="男" >男</label>
                <label><input type="radio"  name="sex" checked value="女">女</label>
                <?php }else{ ?>
                    <label><input type="radio"  name="sex" checked value="男" >男</label>
                    <label><input type="radio"  name="sex"  value="女">女</label>
                <?php }?>

                <div class="clear"></div>
            </div>
        </li>
        <li class="bdlt_item">
            <div class="type">民族</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="national" value="<?=$do['national']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">所在省市</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="city" value="<?=$do['city']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">证件类型</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="zhengjian_type" value="<?=$do['zhengjian_type']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">证件号码</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="zhengjian_num" value="<?=$do['zhengjian_num']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">出生日期</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="birthday" value="<?=$do['birthday']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">最高学历</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="max_xueli" value="<?=$do['max_xueli']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">最高学位</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="max_xuewei" value="<?=$do['max_xuewei']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">所在单位</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="work_address" value="<?=$do['work_address']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">邮编</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="youbian" value="<?=$do['youbian']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">职称</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text"  name="zhiwei" value="<?=$do['zhiwei']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">职务</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="zhiwu" value="<?=$do['zhiwu']?>"></div>
        </li>
        <li class="bdlt_item">
            <div class="type">通讯地址</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="tel_address" value="<?=$do['tel_address']?>"> </div>
        </li>
        <li class="bdlt_item">
            <div class="type">联系电话</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="phone" id="phone" value="<?=$do['phone']?>"></div>
        </li>
    </ul>
    <ul class="bdlt_ul fore2">
        <li class="bdlt_item1">
            <div class="type">汇款方式</div>
            <div class="bdlt_line"></div>
            <div class="txt_input">
                <div class="txt_input2">
                    <?php  if($do['payment'] == '银行转账'){ ?>

                    <label><input type="radio"  name="payment" checked value="银行转账">银行转账</label>
                    <p class="payment_p">开户行:中国工商银行北京和平街支行</p>
                    <p class="payment_p">开户名称:汉唐博瑞国际咨询(北京)有限公司</p>
                    <p class="payment_p">账&nbsp;号:020 0205 3092 0001 6693</p>
                    <label><input type="radio"  name="payment" value="现金支付">现金支付</label>
                        <p class="payment_p">(会议现场不支持POS机刷卡)</p>
                    <?php }else{?>
                        <label><input type="radio"  name="payment"  value="银行转账">银行转账</label>
                        <p class="payment_p">开户行:中国工商银行北京和平街支行</p>
                        <p class="payment_p">开户名称:汉唐博瑞国际咨询(北京)有限公司</p>
                        <p class="payment_p">账&nbsp;号:020 0205 3092 0001 6693</p>
                        <label><input type="radio" checked name="payment" value="现金支付">现金支付</label>
                        <p class="payment_p">(会议现场不支持POS机刷卡)</p>
                    <?php }?>
                    <div style="height:16px;width:30%;"></div>
                </div>
            </div>
        </li>
        <li class="bdlt_item">
            <div class="type">发票抬头</div>
            <div class="bdlt_line"></div>
            <div class="txt_input"><input type="text" name="发票抬头" placeholder="(请准确填写)" value="<?=$do['发票抬头']?>"></div>
        </li>

    </ul>

    <ul class="bdlt_ul fore3">
        <li class="bdlt_item1">
            <div class="type">酒店住宿</div>
            <div class="bdlt_line"></div>
            <div class="txt_input">
                <div class="txt_input3">
                    <?php  if($do['room_type'] == '不需要住宿'){ ?>
                        <label><input type="radio"  name="room_type"  value="需要住宿">需要住宿</label>
                        <label><input type="radio"  name="room_type"  value="合住230">合住230(含早)</label>
                        <label><input type="radio"  name="room_type" value="单住460">单住460(含早)</label>
                        <label><input type="radio"  name="room_type" checked value="不需要住宿">不需要住宿</label>
                    <?php }else if($do['room_type'] == '合住230'){ ?>
                        <label><input type="radio"  name="room_type"  value="需要住宿">需要住宿</label>
                        <label><input type="radio"  name="room_type" checked  value="合住230">合住230(含早)</label>
                        <label><input type="radio"  name="room_type" value="单住460">单住460(含早)</label>
                        <label><input type="radio"  name="room_type" value="不需要住宿">不需要住宿</label>
                    <?php }else if($do['room_type'] == '单住460'){ ?>
                        <label><input type="radio"  name="room_type"  value="需要住宿">需要住宿</label>
                        <label><input type="radio"  name="room_type"  value="合住230">合住230(含早)</label>
                        <label><input type="radio"  name="room_type" checked value="单住460">单住460(含早)</label>
                        <label><input type="radio"  name="room_type" value="不需要住宿">不需要住宿</label>
                    <?php }else { ?>
                        <label><input type="radio"  name="room_type" checked value="需要住宿">需要住宿</label>
                        <label><input type="radio"  name="room_type"  value="合住230">合住230(含早)</label>
                        <label><input type="radio"  name="room_type" value="单住460">单住460(含早)</label>
                        <label><input type="radio"  name="room_type" value="不需要住宿">不需要住宿</label>

                <?php    }?>

                </div>
            </div>
            <p>酒店名称：康铭大厦(四星)</p>
            <p>酒店地址：北京东城区美术馆后街18号(北京中医医院对面)</p>
        </li>
        <li class="bdlt_item">
            房间数量有限，请您提前与组委会电话确认，非常感谢。联系电话：010-84874100，未经电话确认我们将无法保证预留您的房间，非常感谢您的理解。
        </li>

    </ul>
    <div class="submit_btn"><input type="submit" id="Submit" value="提交"></div>
</div>
</form>





<div style="width:100%;height:30px;"></div>
<div style="height:30px;width:100%;background:#db3655;color:#fff;font-size:80%;line-height:30px;text-align:center;">操作过程中如有疑问，请致电客服热线：400-825-8989</div>
</body>
</html>

<script>
    $("input[type='radio']:checked").parent().css("background-image","url(style/input_tet_label11.png)")
    $(function(){
        $("input[type='radio']").change(function() {
            $("input[type='radio']").parent().css("background-image","url(style/input_tet_label1.png)")
            $("input[type='radio']:checked").parent().css("background-image","url(style/input_tet_label11.png)")
        });
    });


</script>
<script src="../resource/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/date/laydate.js"></script>
<script type="text/javascript">
$(function(){
$('#phone').blur(function(){
    var value=$("#phone").val();
        reg=/^1[3|4|5|7|8][0-9]\d{8}$/;
            if(!reg.test(value)){   
                 $("#phone").css({'color':'#DB3656'});
                    $('#phone').data({'s':0});
            }else{
                $("#phone").css({'color':'#333'});
                $('#phone').data({'s':1});
            }
})
// 页面跳转
    $("#Submit").click(function(){
        var name=$("input[name='name']").val();
        var zhengjian_num=$("input[name='zhengjian_num']").val();
        var work_address=$("input[name='work_address']").val();
        var city=$("input[name='city']").val();
        var phone=$("input[name='phone']").val();
        var  reg=/^1[3|4|5|7|8][0-9]\d{8}$/;

        if(name.length==0){
            alert("请输入姓名！");
            return false;
        }
        if(city.length==0){
            alert("请输入所在省市！");
            return false;
        }
        if(zhengjian_num.length==0){
            alert("请输入证件号码 ！");
            return false;
        }
        if(work_address.length==0){
            alert("请输入所在单位！");
            return false;
        }

        if(!reg.test(phone)){
            alert("电话号码格式错误！");
            return false;
            // $("#phone").css({'color':'#DB3656'});
            // $('#phone').data({'s':0});
        }
$("#form1").submit();
    })
})
</script>



<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../resource/js/bootstrap.min.js"></script>